extends mixins/_layout
block content
    body
        // 头部
        include mixins/_header_t.jade
        .main-content
            .row.row-margin-top.row-margin-bottom
                .container
                    .position-tips
                        p.nomargin
                            a(href='./', target='_blank') 首页 &nbsp;&nbsp;>&nbsp;&nbsp;
                            a(href='/news', target='_blank') 新闻中心 &nbsp;&nbsp;>&nbsp;&nbsp;
                            a(href='/news?tid=#{newsListName.id}', target='_blank') #{newsListName.CateName} &nbsp;&nbsp;>&nbsp;&nbsp;
                            | #{newsDetail.title}
                    .news-article.edu-white-bg
                        h4
                            | #{newsDetail.title}
                            small.pull-right
                                a(href='/news?tid=#{newsListName.id}', target='_blank') <返回#{newsListName.CateName}
                        .edu-gray2-c.desc #{moment(newsDetail.publish).format('YYYY-MM-DD')} 浏览量：#{newsDetail.clicks}
                        .description.relative
                            |!{newsDetail.content}
                        .edu-gray2-c
                            | 上一篇：
                            if preNext.pre.title
                                a(href='/news/detail?tid=#{preNext.pre.tid}&id=#{preNext.pre.id}', target='_blank')
                                    span.edu-blue-c(style='font-size:14px;text-decoration: underline;') #{preNext.pre.title}
                            else
                                a(href='javascrpit:;')
                                    span.edu-blue-c(style='font-size:14px;text-decoration: underline;') 无上一篇
                        .edu-gray2-c
                            | 下一篇：
                            if preNext.next.title
                                a(href='/news/detail?tid=#{preNext.pre.tid}&id=#{preNext.next.id}', target='_blank')
                                    span.edu-blue-c(style='font-size:14px;text-decoration: underline;') #{preNext.next.title}
                            else
                                a(href='javascrpit:;')
                                    span.edu-blue-c(style='font-size:14px;text-decoration: underline;') 无下一篇

        //底部
        include mixins/_footer.jade
